package com.slx.binary_tree_tilt;

import org.junit.Assert;

import static org.junit.Assert.*;

public class SolutionTest {

    @org.junit.Test
    public void findTilt() {
        Solution s = new Solution();
        TreeNode root = new TreeNode(1);
        root.left = new TreeNode(2);
        root.right = new TreeNode(3);
        Assert.assertEquals(1, s.findTilt(root));
    }
}